package com.atguigu.seckill.mapper;

import com.atguigu.seckill.pojo.Goods;
import com.atguigu.seckill.vo.GoodsVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sjj
 * @since 2021-04-13
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    List<GoodsVo> getGoodsList();

    GoodsVo getGoodsDetail(Long goodsId);
}
